package vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import entity.Rule;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RuleInfoVO {
    private Long id;
    private Long ruleId;
    private Integer status;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateTime;
    private String name;
    private String desc;
    private String frontpath;
    private String condition;
    private Integer menu;
    private Integer order;
    private String icon;
    private String method;
    private List<RuleInfoVO> child;
}
